package org.hospital.dao;

import java.util.List;

import org.hospital.pojo.TPatient;

/**
 * @author HuangKai
 *
 */
public interface IPatientDAO {

	public void save(TPatient patient);
	
	public void delete(TPatient persistentInstance);
	public List findByProperty(String propertyName, Object value);
	public List findByIdNo(Object idNo);
	public void attachDirty(TPatient instance);
	public TPatient merge(TPatient detachedInstance);
}
